package com.example.design.proxy.statical.buyhouse;

/**
 * @Description 代理模式测试类
 * @ClassName ProxyTest
 * @Author Yumuhui
 * @Date 2020/5/14 0:44
 * @Version 1.0.0
 */
public class ProxyTest {

    public static void main(String[] args) {

        BuyHoisePerson person = new BuyHoisePerson("李四");
        person.buyHouse();

        BuyHouseProxy proxy = new BuyHouseProxy("张三");
        proxy.buyHouse();
    }
}
